﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using DevExpress.XtraGrid.Views.Grid;

using MINERP.BLL.CustomerManage;

namespace MINERP.CustomerManage.Controller
{
    public class ControllerBase
    {
        /// <summary>
        /// 设置Grid的背景色
        /// </summary>
        /// <param name="e"></param>
        internal void SetBackColor(RowStyleEventArgs e)
        {
            if (e.RowHandle % 2 == 1)
            {
                e.Appearance.BackColor = Color.Gold;
                e.Appearance.BackColor2 = Color.Gold;
            }
        }

        /// <summary>
        /// 设置过期提示的颜色
        /// </summary>
        internal void SetTimeoutColor()
        { 
            
        }

    }
}
